Skip to main content

itemDelimiter

Type

property

Summary

Specifies the character(s) used to separate items in chunk expressions.

Syntax

set the itemDelimiter to <character(s)>

Description

Use the itemDelimiter property to divide text into chunks based on a delimiting character(s).

From LiveCode 7.0, itemDelimiter can be a string of one or several characters. Chunk expressions use the itemDelimiter to determine where one item ends and the next begins.

Since the itemDelimiter is a local property, its value is reset to comma when the current handler finishes executing. It retains its value only for the current handler, and setting it in one handler does not affect its value in other handlers it calls.

Examples

set the itemDelimiter to numToChar(202)
set the itemDelimiter to tab
set the itemDelimiter to ";;"

command: reset

constant: comma, colon, formfeed

function: value, itemOffset

glossary: property, chunk expression, handler, execute, call, chunk, local property, delimit

keyword: item, items, character

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?